package com.hotel.dao.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hotel.entity.RoomDeviceType;
import com.hotel.entity.RoomDeviceTypeExample;

public interface RoomDeviceTypeMapper {
    int countByExample(RoomDeviceTypeExample example);

    int deleteByExample(RoomDeviceTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoomDeviceType record);

    int insertSelective(RoomDeviceType record);

    List<RoomDeviceType> selectByExample(RoomDeviceTypeExample example);

    RoomDeviceType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoomDeviceType record, @Param("example") RoomDeviceTypeExample example);

    int updateByExample(@Param("record") RoomDeviceType record, @Param("example") RoomDeviceTypeExample example);

    int updateByPrimaryKeySelective(RoomDeviceType record);

    int updateByPrimaryKey(RoomDeviceType record);
}